package com.sc.nft.entity.dto;

import com.sc.nft.enums.UserConsensusTypeEnums;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-10-15
 */
@Data
public class UserCollectionConsensusUpdateDTO {


    @ApiModelProperty(value = "用户Id", required = true)
    private Long userId;

    @ApiModelProperty(value = "生态藏品Id", required = true)
    @NotNull(message = "请选择转入的生态藏品")
    private Long collectionId;

    @ApiModelProperty(value = "共识度数量", required = true)
    @NotNull(message = "请输入转入数量")
    private BigDecimal consensusNum;

    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    @ApiModelProperty(value = "手机号", required = true)
    private String userTel;

    @ApiModelProperty(value = "操作类型", required = true)
    private UserConsensusTypeEnums type;



}
